import React, { FC } from 'react';
import { Collapse } from 'choerodon-ui';

const { Panel } = Collapse;

export interface CollapseBasicProps {}

const CollapseBasic: FC<CollapseBasicProps> = () => {
  return (
    <Collapse defaultActiveKey={['1']}>
      <Panel key="1" header="折叠面板1">
        折叠面板1内容
      </Panel>
      <Panel key="2" header="折叠面板2">
        折叠面板2内容
      </Panel>
      <Panel key="3" header="折叠面板3">
        折叠面板3内容
      </Panel>
    </Collapse>
  );
};

export default CollapseBasic;
